package com.itqf.ds;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/11/6
 * @Time: 上午10:49
 */
public class MyDataSourceFactory extends PooledDataSourceFactory {


    public MyDataSourceFactory(){

        System.err.println("----->替换数据源");
        this.dataSource = new DruidDataSource();
    }

}
